package cn.zysoft.his4killsession.dao.impl;

import java.util.List;

import org.mybatis.spring.support.SqlSessionDaoSupport;
import org.springframework.stereotype.Repository;

import cn.zysoft.his4killsession.dao.BlockInfoDao;
import cn.zysoft.his4killsession.pojo.BlockInfo;
@Repository
public class BlockInfoDaoImpl extends SqlSessionDaoSupport implements BlockInfoDao {
	String namespace = "cn.zysoft.his4killsession.mapper.BlockInfoMapper.";
	public List<BlockInfo> selectBlockInfo() {
		
		return this.getSqlSession().selectList(namespace + "selectBlockInfo");
	}
	
	public void killSession(String sessionId) {
		this.getSqlSession().update(namespace + "killSession",sessionId);
	}

}
